<template>
  <div class="page_myCompany">
<!--
    <keep-alive>
        <router-view></router-view>
    </keep-alive>
-->
    <router-view></router-view>
    <!-- 底部栏 -->
    <com-my-company-tar-bar></com-my-company-tar-bar>
  </div>
</template>

<script>
import comMyCompanyTarBar from '../../components/comMyCompanyTarbar'

export default {
  name: 'myCompany',
  components: {
    comMyCompanyTarBar
  },
  data() {
    return {
      // currentTab: 0
    }
  },

  // 最佳的办法
  beforeDestroy() {
    localStorage.removeItem('tabItemIndex_myCompany');
  },

  destroyed() {
    localStorage.removeItem('tabItemIndex_myCompany');
  },
}
</script>

<style lang="scss" scoped>
.page_myCompany {
  width: 100%;
}
</style>
